@layout("/common/_container.html",{js:["/assets/storeAccount/storeAccount_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="storeAccountForm" lay-filter="storeAccountForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="warehouseId" name="warehouseId" lay-filter="warehouseId" lay-filter="required" >
                            <option value=""></option>
                            @for(item in warehouseList!){
                            <option value="${item.id}">${item.warehouseName}</option>
                            @}
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">门店名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="storeId" name="storeId"  lay-filter="required">
                            <option value=""></option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">账户<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="account" readonly="readonly" name="account" placeholder="请输入账户" type="text" value="${account}" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">余额<span style="color: red;">*</span></label>-->
<!--                    <div class="layui-input-block">-->
<!--                        <input id="remainingSum" name="remainingSum" placeholder="请输入余额" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                    </div>-->
<!--                </div>-->

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}